<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Happy dong
 * Created Time: 2019-07-24 14:06
 *
 * Version: 2.0
 */

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class MessageLog extends Model
{
	protected $table = "message_log";
	protected $guarded = [];

	public function message(){
		return $this->hasOne(Message::class,'id','message_id');
	}


	public function store(){
		return $this->belongsTo(Store::class,'store_id','id');
	}
}